home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / prdctvty / 11420k01.ziv / INSTALL.BAT next >
DOS Batch File  |  1993-01-14  |  3KB  |  107 lines

  1. echo off
  2. cls
  3. if %2x==x goto NODRIVE
  4. echo All disk drive designations must end with colons.  For instance, drive C
  5. echo is designated as "C:", not "C".  Make absolutely sure that you have desig-
  6. echo nated your hard disk correctly.
  7. echo .
  8. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  9. pause
  10. echo off
  11. cls
  12. %2
  13. cd\
  14. md MANAGEX
  15. cls
  16. cd\MANAGEX
  17. echo Copying files...
  18. if exist upgrd.exe erase upgrd.exe
  19. copy %1ramd.exe
  20. cls
  21. if exist %1upgrd.exe copy %1upgrd.exe
  22. :SKIPMISC
  23. if exist moe.exe erase moe.exe
  24. if exist b-beep.exe erase b-beep.exe
  25. if exist pc-beep.exe erase pc-beep.exe
  26. if exist rmd.exe erase rmd.exe
  27. if exist ramdesk.exe erase ramdesk.exe
  28. if exist ramdesk.ovr erase ramdesk.ovr
  29. if exist input.exe erase input.exe
  30. if exist output.bat erase output.bat
  31. if exist ramdesk.hlp erase ramdesk.hlp
  32. if exist delsched.exe erase delsched.exe
  33. if exist upgrade.exe erase upgrade.exe
  34. if exist upgrd.com erase upgrd.com
  35. if exist ramdesk.doc erase ramdesk.doc
  36. if exist readme.doc erase readme.doc
  37. rem if not exist pc-sched.lbf goto EXTRACT
  38. echo                              VERY IMPORTANT
  39. echo .
  40. echo .
  41. echo Now, some program files will be extracted from an archive.  Before each
  42. echo file is extracted, a check will be made to see whether a similarly named
  43. echo one already exists on your hard disk.  If so, you'll be asked whether you
  44. echo wish to overwrite it with a new copy. If you were to answer "YES", some of
  45. echo your customizations might be overwritten with plain "vanilla" data.
  46. echo .
  47. echo           THEREFORE, ALWAYS ANSWER "NO" (BY PRESSSING THE "N" KEY).
  48. echo .
  49. echo .
  50. echo .
  51. pause
  52. :EXTRACT
  53. ramd
  54. erase ramd.exe
  55. upgrade %2
  56. erase upgr*.*
  57. cls
  58. if exist pc-direc.lbf goto SKIPPRINT
  59. echo The instructions must be printed.
  60. echo .
  61. echo .
  62. echo Now, turn your printer OFF and then ON.  Make sure that it is ready to
  63. echo print and that you have loaded at least 50 sheets of paper.  Then, align
  64. echo the print head 1/2" below the top of the first sheet.
  65. echo .
  66. pause
  67. cls
  68. echo Printing documentation...
  69. type RAMDESK.DOC >prn
  70. :SKIPPRINT
  71. cls
  72. echo .
  73. echo RAMdesk is now installed on your hard disk in the MANAGEX directory.
  74. echo To access the program, do the following:
  75. echo .
  76. echo     1) enter "%2" at the prompt (this logs you onto drive %2);
  77. echo     2) enter "CD\MANAGEX" at the prompt ("CD" means "Change Dirctory");
  78. echo     3) enter "RMD" at the prompt.
  79. echo .
  80. echo .
  81. pause
  82. echo off
  83. cls
  84. if not exist pc-direc.lbf goto END
  85. echo .
  86. echo                      IF YOU'RE A REGISTERED USER...
  87. echo .
  88. echo      The upgrade you have just gone through has resulted in a personalized
  89. echo copy of RAMdesk.
  90. echo .
  91. echo    Feel free to distribute copies of the RAMdesk disk, but DON'T tell
  92. echo anyone your serial number; a user must register to receive one of his own.
  93. echo .
  94. echo      Thanks.
  95. echo .
  96. echo .
  97. goto END
  98. :NODRIVE
  99. cls
  100. echo .
  101. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  102. echo .
  103. echo example:  B:INSTRD B: C:   will install RAMdesk from drive B to drive C
  104. echo .
  105. echo            PLEASE TRY AGAIN
  106. :END
  107.